package cn.tedu.shoot;

import javax.swing.*;

public class ShootFrame extends JFrame {
    public static final int WIDTH=512;
    public static final int HEIGHT=768;
    public ShootFrame() {
        setTitle("飞机大战");
        setBounds(200, 50, WIDTH, HEIGHT);
        ShootPanel panel = new ShootPanel();
        panel.action();
        add(panel);
        setVisible(true);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
        public static void main(String[] args) {
            new ShootFrame();
        }

}

